#!/bin/bash
join -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 ./file/test1.txt ./file/test2.txt

join -a 1 -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 --nocheck-order ./file/test1.txt ./file/test2.txt

join -a 2 -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 --nocheck-order ./file/test1.txt ./file/test2.txt

join -a 1 -a 2 -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 --nocheck-order ./file/test1.txt ./file/test2.txt

join -v 1 -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 --nocheck-order ./file/test1.txt ./file/test2.txt

join -v 2 -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 --nocheck-order ./file/test1.txt ./file/test2.txt

join -v 1 -v 2 -t $'\t' -1 1 -2 2 -o 1.1 1.2 2.1 2.2 --nocheck-order ./file/test1.txt ./file/test2.txt

